package com.jfl.mapper;

import org.apache.ibatis.annotations.Delete;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jfl.model.SysUserRole;

/**
 * 用户角色
 * 
 * @author 赵炎
 * @version [V1.00, 2018年12月25日]
 * @since V1.00
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole>
{

    @Delete("delete from tbl_sys_user_role where user_id = #{userId}")
    int deleteByUserId(Long userId);
    
}
